package com.xiaow.springsecuriydemo.vo;

import com.xiaow.springsecuriydemo.entity.Goods;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @ClassName TradingVo
 * @Author xiaow
 * @DATE 2022/9/18 9:09
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TradingVo extends Goods  implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 用户id
     */
    private Long userid;

    /**
     * 货物id
     */
    private Long goodsid;

    /**
     * 总消费
     */
    private Double money;

    /**
     * 购买时间
     */
    private LocalDateTime ctime;

    /**
     * 状态 0 购买  1退货  2 处理中
     */
    private Integer status;

    /**
     * 店铺名称
     */
    private String shopname;
}
